home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / orbit-1.0 / orb / dii.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-20  |  3.0 KB  |  121 lines

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
  2.  
  3. /*
  4.  *  ORBit: A CORBA v2.2 ORB
  5.  *
  6.  *  Copyright (C) 1998 Richard H. Porter
  7.  *
  8.  *  This library is free software; you can redistribute it and/or
  9.  *  modify it under the terms of the GNU Library General Public
  10.  *  License as published by the Free Software Foundation; either
  11.  *  version 2 of the License, or (at your option) any later version.
  12.  *
  13.  *  This library is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  *  Library General Public License for more details.
  17.  *
  18.  *  You should have received a copy of the GNU Library General Public
  19.  *  License along with this library; if not, write to the Free
  20.  *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  *
  22.  *  Author: Dick Porter <dick@cymru.net>
  23.  *
  24.  */
  25.  
  26. #ifndef _ORBIT_DII_H_
  27. #define _ORBIT_DII_H_
  28.  
  29. #include "orb/orbit_types.h"
  30. #include "orb/interface_repository.h"
  31.  
  32. extern CORBA_Status CORBA_Object_create_request(
  33.     CORBA_Object obj,
  34.     CORBA_Context ctx,
  35.     CORBA_Identifier operation,
  36.     CORBA_NVList *arg_list,
  37.     CORBA_NamedValue *result,
  38.     CORBA_Request *request,
  39.     CORBA_Flags req_flags,
  40.     CORBA_Environment *ev);
  41.  
  42. extern CORBA_Status CORBA_Request_add_arg(
  43.     CORBA_Request req,
  44.     CORBA_Identifier name,
  45.     CORBA_TypeCode arg_type,
  46.     void *value,
  47.     CORBA_long len,
  48.     CORBA_Flags arg_flags,
  49.     CORBA_Environment *ev);
  50.  
  51. extern CORBA_Status CORBA_Request_invoke(
  52.     CORBA_Request req,
  53.     CORBA_Flags invoke_flags,
  54.     CORBA_Environment *ev);
  55.  
  56. extern CORBA_Status CORBA_Request_delete(
  57.     CORBA_Request req,
  58.     CORBA_Environment *ev);
  59.  
  60. extern CORBA_Status CORBA_Request_send(
  61.     CORBA_Request req,
  62.     CORBA_Flags invoke_flags,
  63.     CORBA_Environment *ev);
  64.  
  65. extern CORBA_Status CORBA_send_multiple_requests(
  66.     CORBA_Request reqs[],
  67.     CORBA_Environment *env,
  68.     CORBA_long count,
  69.     CORBA_Flags invoke_flags);
  70.  
  71. extern CORBA_Status CORBA_Request_get_response(
  72.     CORBA_Request req,
  73.     CORBA_Flags response_flags,
  74.     CORBA_Environment *ev);
  75.  
  76. extern CORBA_Status CORBA_get_next_response(
  77.     CORBA_Environment *env,
  78.     CORBA_Flags response_flags,
  79.     CORBA_Request *req);
  80.  
  81. extern CORBA_Status CORBA_NVList_add_item(
  82.     CORBA_NVList *list,
  83.     CORBA_Identifier item_name,
  84.     CORBA_TypeCode item_type,
  85.     void *value,
  86.     CORBA_long value_len,
  87.     CORBA_Flags item_flags,
  88.     CORBA_Environment *ev);
  89.  
  90. extern void ORBit_NamedValue_free(
  91.     CORBA_NamedValue *nv);
  92.  
  93.  
  94. extern CORBA_Status CORBA_ORB_create_list(
  95.     CORBA_ORB orb,
  96.     CORBA_long count,
  97.     CORBA_NVList **new_list,
  98.     CORBA_Environment *ev);
  99.  
  100. extern CORBA_Status CORBA_ORB_create_operation_list(
  101.     CORBA_ORB orb,
  102.     CORBA_OperationDef oper,
  103.     CORBA_NVList **new_list,
  104.     CORBA_Environment *ev);
  105.  
  106. extern CORBA_Status CORBA_NVList_free(CORBA_NVList *list,
  107.                       CORBA_Environment *ev);
  108.  
  109. extern CORBA_Status CORBA_NVList_free_memory(
  110.     CORBA_NVList *list,
  111.     CORBA_Environment *ev);
  112.  
  113. extern CORBA_Status CORBA_NVList_get_count(
  114.     CORBA_NVList *list,
  115.     CORBA_long *count,
  116.     CORBA_Environment *ev);
  117.  
  118. extern const int sizeofs[], container_sizeofs[];
  119.  
  120. #endif /* _ORBIT_DII_H_ */
  121.